<?php

namespace CMS;

class Db {
	public static $db;

	public static function open() {
		self::$db = new \SQLite3(ROOT . DS . 'db' . DS . 'app.db');
		self::$db->busyTimeout(5000);
	}

	public static function close() {
		self::$db->close();
	}
}